﻿// MT350




using Little.Soldier.SWIFT;
using Little.Soldier.SWIFT.Definition;
using System.ComponentModel;

namespace Little.Soldier.SWIFT.Messages.Category3
{
  public class MT350 : SwiftMessage
  {
    private static SwiftMessageDefinition MessageDefinition;
    private static SwiftTagSequenceDefinition U0002;
    private static SwiftTagDefinition U0003;
    private static SwiftTagSubItemDefinition U0004;
    private static SwiftTagDefinition U0005;
    private static SwiftTagSubItemDefinition U0006;
    private static SwiftTagDefinition U0007;
    private static SwiftTagSubItemDefinition U0008;
    private static SwiftTagDefinition U000E;
    private static SwiftTagSubItemDefinition U000F;
    private static SwiftTagDefinition U0010;
    private static SwiftTagSubItemDefinition U0011;
    private static SwiftTagDefinition U0012;
    private static SwiftTagDefinition U0013;
    private static SwiftTagSubItemDefinition U0014;
    private static SwiftTagChoiceDefinition U0015;
    private static SwiftTagDefinition U0016;
    private static SwiftTagSubItemDefinition U0017;
    private static SwiftTagSubItemDefinition U0018;
    private static SwiftTagDefinition U0019;
    private static SwiftTagSubItemDefinition U001A;
    private static SwiftTagSubItemDefinition U001B;
    private static SwiftTagDefinition U001C;
    private static SwiftTagSubItemDefinition U001D;
    private static SwiftTagChoiceDefinition U001E;
    private static SwiftTagDefinition U001F;
    private static SwiftTagSubItemDefinition U007F;
    private static SwiftTagSubItemDefinition U0080;
    private static SwiftTagDefinition U0081;
    private static SwiftTagSubItemDefinition U0082;
    private static SwiftTagSubItemDefinition U0083;
    private static SwiftTagDefinition U0084;
    private static SwiftTagSubItemDefinition U0086;
    private static SwiftTagChoiceDefinition U0087;
    private static SwiftTagDefinition U0088;
    private static SwiftTagSubItemDefinition U0089;
    private static SwiftTagSubItemDefinition U008A;
    private static SwiftTagDefinition U008B;
    private static SwiftTagSubItemDefinition U008C;
    private static SwiftTagSubItemDefinition U008D;
    private static SwiftTagDefinition U008E;
    private static SwiftTagSubItemDefinition U008F;
    private static SwiftTagDefinition U0090;
    private static SwiftTagSubItemDefinition U0091;
    private static SwiftTagSubItemDefinition U0092;
    private static SwiftTagSubItemDefinition U0093;
    private static SwiftTagSubItemDefinition U0094;
    private static SwiftTagSubItemDefinition U0095;
    private static SwiftTagSubItemDefinition U0096;
    private static SwiftTagSequenceDefinition U0097;
    private static SwiftTagDefinition U0098;
    private static SwiftTagSubItemDefinition U0099;
    private static SwiftTagDefinition U009A;
    private static SwiftTagSubItemDefinition U009B;
    private static SwiftTagSubItemDefinition U009C;
    private static SwiftTagDefinition U009D;
    private static SwiftTagSubItemDefinition U009E;
    private static SwiftTagSubItemDefinition U009F;
    private static SwiftTagDefinition U0001U0002;
    private static SwiftTagSubItemDefinition U0002U0002;
    private static SwiftTagDefinition U0003U0002;
    private static SwiftTagSubItemDefinition U0004U0002;
    private static SwiftTagSubItemDefinition U0005U0002;
    private static SwiftTagDefinition U0006U0002;
    private static SwiftTagSubItemDefinition U0007U0002;
    private static SwiftTagDefinition U0008U0002;
    private static SwiftTagSubItemDefinition U000EU0002;
    private static SwiftTagDefinition U000FU0002;
    private static SwiftTagSubItemDefinition U0010U0002;
    private static SwiftTagSequenceDefinition U0011U0002;
    private static SwiftTagDefinition U0012U0002;
    private static SwiftTagSubItemDefinition U0013U0002;
    private static SwiftTagChoiceDefinition U0014U0002;
    private static SwiftTagDefinition U0015U0002;
    private static SwiftTagSubItemDefinition U0016U0002;
    private static SwiftTagSubItemDefinition U0017U0002;
    private static SwiftTagDefinition U0018U0002;
    private static SwiftTagSubItemDefinition U0019U0002;
    private static SwiftTagSubItemDefinition U001AU0002;
    private static SwiftTagDefinition U001BU0002;
    private static SwiftTagChoiceDefinition U001CU0002;
    private static SwiftTagDefinition U001DU0002;
    private static SwiftTagSubItemDefinition U001EU0002;
    private static SwiftTagSubItemDefinition U001FU0002;
    private static SwiftTagDefinition U007FU0002;
    private static SwiftTagSubItemDefinition U0080U0002;
    private static SwiftTagSubItemDefinition U0081U0002;
    private static SwiftTagDefinition U0082U0002;
    private static SwiftTagChoiceDefinition U0083U0002;
    private static SwiftTagDefinition U0084U0002;
    private static SwiftTagSubItemDefinition U0086U0002;
    private static SwiftTagSubItemDefinition U0087U0002;
    private static SwiftTagDefinition U0088U0002;
    private static SwiftTagSubItemDefinition U0089U0002;
    private static SwiftTagSubItemDefinition U008AU0002;
    private static SwiftTagDefinition U008BU0002;
    private static SwiftTagChoiceDefinition U008CU0002;
    private static SwiftTagDefinition U008DU0002;
    private static SwiftTagSubItemDefinition U008EU0002;
    private static SwiftTagSubItemDefinition U008FU0002;
    private static SwiftTagDefinition U0090U0002;
    private static SwiftTagSubItemDefinition U0091U0002;
    private static SwiftTagSubItemDefinition U0092U0002;
    private static SwiftTagDefinition U0093U0002;
    private static SwiftTagChoiceDefinition U0094U0002;
    private static SwiftTagDefinition U0095U0002;
    private static SwiftTagSubItemDefinition U0096U0002;
    private static SwiftTagSubItemDefinition U0097U0002;
    private static SwiftTagDefinition U0098U0002;
    private static SwiftTagSubItemDefinition U0099U0002;
    private static SwiftTagSubItemDefinition U009AU0002;
    private static SwiftTagDefinition U009BU0002;
    private static SwiftTagSubItemDefinition U009CU0002;
    private static SwiftTagSequenceDefinition U009DU0002;
    private static SwiftTagDefinition U009EU0002;
    private static SwiftTagSubItemDefinition U009FU0002;
    private static SwiftTagDefinition U0001U0003;
    private static SwiftTagSubItemDefinition U0002U0003;
    private static SwiftTagSubItemDefinition U0003U0003;
    private static SwiftTagDefinition U0004U0003;
    private static SwiftTagSubItemDefinition U0005U0003;
    private static SwiftTagSubItemDefinition U0006U0003;
    private static SwiftTagDefinition U0007U0003;
    private static SwiftTagSubItemDefinition U0008U0003;
    private static SwiftTagSequenceDefinition U000EU0003;
    private static SwiftTagDefinition U000FU0003;
    private static SwiftTagSubItemDefinition U0010U0003;
    private static SwiftTagDefinition U0011U0003;
    private static SwiftTagSubItemDefinition U0012U0003;
    private static SwiftTagSubItemDefinition U0013U0003;
    private static SwiftTagSequenceDefinition U0014U0003;
    private static SwiftTagDefinition U0015U0003;
    private static SwiftTagSubItemDefinition U0016U0003;
    private static SwiftTagSubItemDefinition U0017U0003;
    private static SwiftTagDefinition U0018U0003;
    private static SwiftTagSubItemDefinition U0019U0003;
    private static SwiftTagDefinition U001AU0003;
    private static SwiftTagSubItemDefinition U001BU0003;
    private static SwiftTagSubItemDefinition U001CU0003;

    [Description("General Information")]
    public MT350.SequenceAClass SequenceA
    {
      get
      {
        return new MT350.SequenceAClass((SwiftElement) this, 0, false);
      }
    }

    [Description("Interest Information")]
    public MT350.SequenceBClass SequenceB
    {
      get
      {
        return new MT350.SequenceBClass((SwiftElement) this, 0, false);
      }
    }

    [Description("Settlement Instructions")]
    public MT350.SequenceCClass SequenceC
    {
      get
      {
        return new MT350.SequenceCClass((SwiftElement) this, 0, false);
      }
    }

    [Description("Tax Information and Broker's Commission")]
    public MT350.SequenceDClass SequenceD
    {
      get
      {
        MT350.SequenceDClass sequenceDclass = new MT350.SequenceDClass((SwiftElement) this, 0, false);
        if (this.ListTags((SwiftElement) sequenceDclass).Count > 0)
          return sequenceDclass;
        else
          return (MT350.SequenceDClass) null;
      }
    }

    public MT350()
      : base(true)
    {
    }

    public MT350(SwiftMessage message)
      : base(message)
    {
    }

    public MT350.SequenceDClass AddSequenceD()
    {
      return this.SequenceD ?? new MT350.SequenceDClass((SwiftElement) this, 0, true);
    }

    public void RemoveSequenceD(MT350.SequenceDClass sequence)
    {
      foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
        this.RemoveTag(tag);
    }

    internal override SwiftMessageDefinition MsgDefinition()
    {
      return MT350.MessageDefinition;
    }

    protected override void InitSwiftMessageDefinition()
    {
      MT350.MessageDefinition = new SwiftMessageDefinition("MT350", "Advice of Loan/Deposit Interest Payment");
      MT350.U0002 = new SwiftTagSequenceDefinition("SequenceA", "General Information");
      MT350.U0003 = new SwiftTagDefinition("NewSequence_A_15A", "New Sequence");
      MT350.U0003.TagName = ":15A:";
      MT350.U0004 = new SwiftTagSubItemDefinition("NewSequence", "New Sequence");
      MT350.U0004.Mandatory = false;
      MT350.U0003.Elements.Add((SwiftDefinitionElement) MT350.U0004);
      MT350.U0002.Elements.Add((SwiftDefinitionElement) MT350.U0003);
      MT350.U0005 = new SwiftTagDefinition("SendersReference_A_20", "Senders Reference");
      MT350.U0005.TagName = ":20:";
      MT350.U0006 = new SwiftTagSubItemDefinition("Reference", "Reference");
      MT350.U0005.Elements.Add((SwiftDefinitionElement) MT350.U0006);
      MT350.U0002.Elements.Add((SwiftDefinitionElement) MT350.U0005);
      MT350.U0007 = new SwiftTagDefinition("RelatedReference_A_21", "Related Reference");
      MT350.U0007.TagName = ":21:";
      MT350.U0007.Mandatory = false;
      MT350.U0008 = new SwiftTagSubItemDefinition("Reference", "Reference");
      MT350.U0007.Elements.Add((SwiftDefinitionElement) MT350.U0008);
      MT350.U0002.Elements.Add((SwiftDefinitionElement) MT350.U0007);
      MT350.U000E = new SwiftTagDefinition("TypeOfOperation_A_22A", "Type of Operation");
      MT350.U000E.TagName = ":22A:";
      MT350.U000F = new SwiftTagSubItemDefinition("Function", "Function");
      MT350.U000E.Elements.Add((SwiftDefinitionElement) MT350.U000F);
      MT350.U0002.Elements.Add((SwiftDefinitionElement) MT350.U000E);
      MT350.U0010 = new SwiftTagDefinition("ScopeOfOperation_A_94A", "Scope Of Operation");
      MT350.U0010.TagName = ":94A:";
      MT350.U0010.Mandatory = false;
      MT350.U0011 = new SwiftTagSubItemDefinition("Scope", "Scope");
      MT350.U0010.Elements.Add((SwiftDefinitionElement) MT350.U0011);
      MT350.U0002.Elements.Add((SwiftDefinitionElement) MT350.U0010);
      MT350.U0012 = new SwiftTagDefinition("CommonReference_A_22C", "Common Reference");
      MT350.U0012.TagName = ":22C:";
      MT350.U0002.Elements.Add((SwiftDefinitionElement) MT350.U0012);
      MT350.U0013 = new SwiftTagDefinition("ContractNumberPartyA_A_21N", "Contract Number Party A");
      MT350.U0013.TagName = ":21N:";
      MT350.U0013.Mandatory = false;
      MT350.U0014 = new SwiftTagSubItemDefinition("Number", "Number");
      MT350.U0013.Elements.Add((SwiftDefinitionElement) MT350.U0014);
      MT350.U0002.Elements.Add((SwiftDefinitionElement) MT350.U0013);
      MT350.U0015 = new SwiftTagChoiceDefinition("Choice", "");
      MT350.U0015.Multiple = true;
      MT350.U0016 = new SwiftTagDefinition("PartyA_A_82A", "Party A");
      MT350.U0016.TagName = ":82A:";
      MT350.U0017 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT350.U0017.Mandatory = false;
      MT350.U0016.Elements.Add((SwiftDefinitionElement) MT350.U0017);
      MT350.U0018 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT350.U0016.Elements.Add((SwiftDefinitionElement) MT350.U0018);
      MT350.U0015.Elements.Add((SwiftDefinitionElement) MT350.U0016);
      MT350.U0019 = new SwiftTagDefinition("PartyA_A_82D", "Party A");
      MT350.U0019.TagName = ":82D:";
      MT350.U001A = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT350.U001A.Mandatory = false;
      MT350.U0019.Elements.Add((SwiftDefinitionElement) MT350.U001A);
      MT350.U001B = new SwiftTagSubItemDefinition("NameAndAddress", "Name And Address");
      MT350.U0019.Elements.Add((SwiftDefinitionElement) MT350.U001B);
      MT350.U0015.Elements.Add((SwiftDefinitionElement) MT350.U0019);
      MT350.U001C = new SwiftTagDefinition("PartyA_A_82J", "Party A");
      MT350.U001C.TagName = ":82J:";
      MT350.U001D = new SwiftTagSubItemDefinition("PartyIdentification2", "Party Identification");
      MT350.U001C.Elements.Add((SwiftDefinitionElement) MT350.U001D);
      MT350.U0015.Elements.Add((SwiftDefinitionElement) MT350.U001C);
      MT350.U0002.Elements.Add((SwiftDefinitionElement) MT350.U0015);
      MT350.U001E = new SwiftTagChoiceDefinition("Choice", "");
      MT350.U001E.Multiple = true;
      MT350.U001F = new SwiftTagDefinition("PartyB_A_87A", "Party B");
      MT350.U001F.TagName = ":87A:";
      MT350.U007F = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT350.U007F.Mandatory = false;
      MT350.U001F.Elements.Add((SwiftDefinitionElement) MT350.U007F);
      MT350.U0080 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT350.U001F.Elements.Add((SwiftDefinitionElement) MT350.U0080);
      MT350.U001E.Elements.Add((SwiftDefinitionElement) MT350.U001F);
      MT350.U0081 = new SwiftTagDefinition("PartyB_A_87D", "Party B");
      MT350.U0081.TagName = ":87D:";
      MT350.U0082 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT350.U0082.Mandatory = false;
      MT350.U0081.Elements.Add((SwiftDefinitionElement) MT350.U0082);
      MT350.U0083 = new SwiftTagSubItemDefinition("NameAndAddress", "Name And Address");
      MT350.U0081.Elements.Add((SwiftDefinitionElement) MT350.U0083);
      MT350.U001E.Elements.Add((SwiftDefinitionElement) MT350.U0081);
      MT350.U0084 = new SwiftTagDefinition("PartyB_A_87J", "Party B");
      MT350.U0084.TagName = ":87J:";
      MT350.U0086 = new SwiftTagSubItemDefinition("PartyIdentification2", "");
      MT350.U0084.Elements.Add((SwiftDefinitionElement) MT350.U0086);
      MT350.U001E.Elements.Add((SwiftDefinitionElement) MT350.U0084);
      MT350.U0002.Elements.Add((SwiftDefinitionElement) MT350.U001E);
      MT350.U0087 = new SwiftTagChoiceDefinition("Choice", "");
      MT350.U0087.Mandatory = false;
      MT350.U0087.Multiple = true;
      MT350.U0088 = new SwiftTagDefinition("FundOrInstructingParty_A_83A", "Fund or Instructing Party");
      MT350.U0088.TagName = ":83A:";
      MT350.U0089 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT350.U0089.Mandatory = false;
      MT350.U0088.Elements.Add((SwiftDefinitionElement) MT350.U0089);
      MT350.U008A = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT350.U0088.Elements.Add((SwiftDefinitionElement) MT350.U008A);
      MT350.U0087.Elements.Add((SwiftDefinitionElement) MT350.U0088);
      MT350.U008B = new SwiftTagDefinition("FundOrInstructingParty_A_83D", "Fund or Instructing Party");
      MT350.U008B.TagName = ":83D:";
      MT350.U008C = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT350.U008C.Mandatory = false;
      MT350.U008B.Elements.Add((SwiftDefinitionElement) MT350.U008C);
      MT350.U008D = new SwiftTagSubItemDefinition("NameAndAddress", "Name And Address");
      MT350.U008B.Elements.Add((SwiftDefinitionElement) MT350.U008D);
      MT350.U0087.Elements.Add((SwiftDefinitionElement) MT350.U008B);
      MT350.U008E = new SwiftTagDefinition("FundOrInstructingParty_A_83J", "Fund or Instructing Party");
      MT350.U008E.TagName = ":83J:";
      MT350.U008F = new SwiftTagSubItemDefinition("PartyIdentification2", "Party Identification");
      MT350.U008E.Elements.Add((SwiftDefinitionElement) MT350.U008F);
      MT350.U0087.Elements.Add((SwiftDefinitionElement) MT350.U008E);
      MT350.U0002.Elements.Add((SwiftDefinitionElement) MT350.U0087);
      MT350.U0090 = new SwiftTagDefinition("SenderToReceiverInformation_A_72", "Sender To Receiver Information");
      MT350.U0090.TagName = ":72:";
      MT350.U0090.Mandatory = false;
      MT350.U0091 = new SwiftTagSubItemDefinition("Line1", "Line with a maximum of 35 SWIFT characters having format as /8c/[25x]");
      MT350.U0090.Elements.Add((SwiftDefinitionElement) MT350.U0091);
      MT350.U0092 = new SwiftTagSubItemDefinition("Line2", "Line with a maximum of 35 SWIFT characters having format as /8c/[25x] or [//33x]");
      MT350.U0092.Mandatory = false;
      MT350.U0090.Elements.Add((SwiftDefinitionElement) MT350.U0092);
      MT350.U0093 = new SwiftTagSubItemDefinition("Line3", "Line with a maximum of 35 SWIFT characters having format as /8c/[25x] or [//33x]");
      MT350.U0093.Mandatory = false;
      MT350.U0090.Elements.Add((SwiftDefinitionElement) MT350.U0093);
      MT350.U0094 = new SwiftTagSubItemDefinition("Line4", "Line with a maximum of 35 SWIFT characters having format as /8c/[25x] or [//33x]");
      MT350.U0094.Mandatory = false;
      MT350.U0090.Elements.Add((SwiftDefinitionElement) MT350.U0094);
      MT350.U0095 = new SwiftTagSubItemDefinition("Line5", "Line with a maximum of 35 SWIFT characters having format as /8c/[25x] or [//33x]");
      MT350.U0095.Mandatory = false;
      MT350.U0090.Elements.Add((SwiftDefinitionElement) MT350.U0095);
      MT350.U0096 = new SwiftTagSubItemDefinition("Line6", "Line with a maximum of 35 SWIFT characters having format as /8c/[25x] or [//33x]");
      MT350.U0096.Mandatory = false;
      MT350.U0090.Elements.Add((SwiftDefinitionElement) MT350.U0096);
      MT350.U0002.Elements.Add((SwiftDefinitionElement) MT350.U0090);
      MT350.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT350.U0002);
      MT350.U0097 = new SwiftTagSequenceDefinition("SequenceB", "Interest Information");
      MT350.U0098 = new SwiftTagDefinition("NewSequence_B_15B", "New Sequence");
      MT350.U0098.TagName = ":15B:";
      MT350.U0099 = new SwiftTagSubItemDefinition("NewSequence", "New Sequence");
      MT350.U0099.Mandatory = false;
      MT350.U0098.Elements.Add((SwiftDefinitionElement) MT350.U0099);
      MT350.U0097.Elements.Add((SwiftDefinitionElement) MT350.U0098);
      MT350.U009A = new SwiftTagDefinition("InterestPeriod_B_30G", "Interest Period");
      MT350.U009A.TagName = ":30G:";
      MT350.U009B = new SwiftTagSubItemDefinition("StartDate", "Start Date");
      MT350.U009A.Elements.Add((SwiftDefinitionElement) MT350.U009B);
      MT350.U009C = new SwiftTagSubItemDefinition("EndDate", "End Date");
      MT350.U009A.Elements.Add((SwiftDefinitionElement) MT350.U009C);
      MT350.U0097.Elements.Add((SwiftDefinitionElement) MT350.U009A);
      MT350.U009D = new SwiftTagDefinition("CurrencyAndPrincipalAmount_B_32B", "Currency and Principal Amount");
      MT350.U009D.TagName = ":32B:";
      MT350.U009E = new SwiftTagSubItemDefinition("Currency", "Currency");
      MT350.U009D.Elements.Add((SwiftDefinitionElement) MT350.U009E);
      MT350.U009F = new SwiftTagSubItemDefinition("Amount", "Amount");
      MT350.U009D.Elements.Add((SwiftDefinitionElement) MT350.U009F);
      MT350.U0097.Elements.Add((SwiftDefinitionElement) MT350.U009D);
      MT350.U0001U0002 = new SwiftTagDefinition("ValueDateOfInterestPayment_B_30V", "Value Date of Interest Payment");
      MT350.U0001U0002.TagName = ":30V:";
      MT350.U0002U0002 = new SwiftTagSubItemDefinition("Date", "Date");
      MT350.U0001U0002.Elements.Add((SwiftDefinitionElement) MT350.U0002U0002);
      MT350.U0097.Elements.Add((SwiftDefinitionElement) MT350.U0001U0002);
      MT350.U0003U0002 = new SwiftTagDefinition("CurrencyAndInterestAmount_B_34B", "Currency and Interest Amount");
      MT350.U0003U0002.TagName = ":34B:";
      MT350.U0004U0002 = new SwiftTagSubItemDefinition("Currency", "Currency");
      MT350.U0003U0002.Elements.Add((SwiftDefinitionElement) MT350.U0004U0002);
      MT350.U0005U0002 = new SwiftTagSubItemDefinition("Amount", "Amount");
      MT350.U0003U0002.Elements.Add((SwiftDefinitionElement) MT350.U0005U0002);
      MT350.U0097.Elements.Add((SwiftDefinitionElement) MT350.U0003U0002);
      MT350.U0006U0002 = new SwiftTagDefinition("InterestRate_B_37J", "Interest Rate");
      MT350.U0006U0002.TagName = ":37J:";
      MT350.U0007U0002 = new SwiftTagSubItemDefinition("Rate", "Rate");
      MT350.U0006U0002.Elements.Add((SwiftDefinitionElement) MT350.U0007U0002);
      MT350.U0097.Elements.Add((SwiftDefinitionElement) MT350.U0006U0002);
      MT350.U0008U0002 = new SwiftTagDefinition("DayCountFraction_B_14D", "Day Count Fraction");
      MT350.U0008U0002.TagName = ":14D:";
      MT350.U000EU0002 = new SwiftTagSubItemDefinition("Code", "Code");
      MT350.U0008U0002.Elements.Add((SwiftDefinitionElement) MT350.U000EU0002);
      MT350.U0097.Elements.Add((SwiftDefinitionElement) MT350.U0008U0002);
      MT350.U000FU0002 = new SwiftTagDefinition("NextInterestPaymentDate_B_30F", "Next Interest Payment Date");
      MT350.U000FU0002.TagName = ":30F:";
      MT350.U000FU0002.Mandatory = false;
      MT350.U0010U0002 = new SwiftTagSubItemDefinition("Date", "Date");
      MT350.U000FU0002.Elements.Add((SwiftDefinitionElement) MT350.U0010U0002);
      MT350.U0097.Elements.Add((SwiftDefinitionElement) MT350.U000FU0002);
      MT350.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT350.U0097);
      MT350.U0011U0002 = new SwiftTagSequenceDefinition("SequenceC", "Settlement Instructions");
      MT350.U0012U0002 = new SwiftTagDefinition("NewSequence_C_15C", "New Sequence");
      MT350.U0012U0002.TagName = ":15C:";
      MT350.U0013U0002 = new SwiftTagSubItemDefinition("NewSequence", "New Sequence");
      MT350.U0013U0002.Mandatory = false;
      MT350.U0012U0002.Elements.Add((SwiftDefinitionElement) MT350.U0013U0002);
      MT350.U0011U0002.Elements.Add((SwiftDefinitionElement) MT350.U0012U0002);
      MT350.U0014U0002 = new SwiftTagChoiceDefinition("Choice", "");
      MT350.U0014U0002.Mandatory = false;
      MT350.U0014U0002.Multiple = true;
      MT350.U0015U0002 = new SwiftTagDefinition("DeliveryAgent_C_53A", "Delivery Agent");
      MT350.U0015U0002.TagName = ":53A:";
      MT350.U0016U0002 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT350.U0016U0002.Mandatory = false;
      MT350.U0015U0002.Elements.Add((SwiftDefinitionElement) MT350.U0016U0002);
      MT350.U0017U0002 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT350.U0015U0002.Elements.Add((SwiftDefinitionElement) MT350.U0017U0002);
      MT350.U0014U0002.Elements.Add((SwiftDefinitionElement) MT350.U0015U0002);
      MT350.U0018U0002 = new SwiftTagDefinition("DeliveryAgent_C_53D", "Delivery Agent");
      MT350.U0018U0002.TagName = ":53D:";
      MT350.U0019U0002 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT350.U0019U0002.Mandatory = false;
      MT350.U0018U0002.Elements.Add((SwiftDefinitionElement) MT350.U0019U0002);
      MT350.U001AU0002 = new SwiftTagSubItemDefinition("NameAndAddress", "Name And Address");
      MT350.U0018U0002.Elements.Add((SwiftDefinitionElement) MT350.U001AU0002);
      MT350.U0014U0002.Elements.Add((SwiftDefinitionElement) MT350.U0018U0002);
      MT350.U001BU0002 = new SwiftTagDefinition("DeliveryAgent_C_53J", "Delivery Agent");
      MT350.U001BU0002.TagName = ":53J:";
      MT350.U0014U0002.Elements.Add((SwiftDefinitionElement) MT350.U001BU0002);
      MT350.U0011U0002.Elements.Add((SwiftDefinitionElement) MT350.U0014U0002);
      MT350.U001CU0002 = new SwiftTagChoiceDefinition("Choice", "");
      MT350.U001CU0002.Mandatory = false;
      MT350.U001CU0002.Multiple = true;
      MT350.U001DU0002 = new SwiftTagDefinition("Intermediary2_C_86A", "Intermediary2");
      MT350.U001DU0002.TagName = ":86A:";
      MT350.U001EU0002 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT350.U001EU0002.Mandatory = false;
      MT350.U001DU0002.Elements.Add((SwiftDefinitionElement) MT350.U001EU0002);
      MT350.U001FU0002 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT350.U001DU0002.Elements.Add((SwiftDefinitionElement) MT350.U001FU0002);
      MT350.U001CU0002.Elements.Add((SwiftDefinitionElement) MT350.U001DU0002);
      MT350.U007FU0002 = new SwiftTagDefinition("Intermediary2_C_86D", "Intermediary2");
      MT350.U007FU0002.TagName = ":86D:";
      MT350.U0080U0002 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT350.U0080U0002.Mandatory = false;
      MT350.U007FU0002.Elements.Add((SwiftDefinitionElement) MT350.U0080U0002);
      MT350.U0081U0002 = new SwiftTagSubItemDefinition("NameAndAddress", "Name And Address");
      MT350.U007FU0002.Elements.Add((SwiftDefinitionElement) MT350.U0081U0002);
      MT350.U001CU0002.Elements.Add((SwiftDefinitionElement) MT350.U007FU0002);
      MT350.U0082U0002 = new SwiftTagDefinition("Intermediary2_C_86J", "Intermediary2");
      MT350.U0082U0002.TagName = ":86J:";
      MT350.U001CU0002.Elements.Add((SwiftDefinitionElement) MT350.U0082U0002);
      MT350.U0011U0002.Elements.Add((SwiftDefinitionElement) MT350.U001CU0002);
      MT350.U0083U0002 = new SwiftTagChoiceDefinition("Choice", "");
      MT350.U0083U0002.Mandatory = false;
      MT350.U0083U0002.Multiple = true;
      MT350.U0084U0002 = new SwiftTagDefinition("Intermediary_C_56A", "Intermediary");
      MT350.U0084U0002.TagName = ":56A:";
      MT350.U0086U0002 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT350.U0086U0002.Mandatory = false;
      MT350.U0084U0002.Elements.Add((SwiftDefinitionElement) MT350.U0086U0002);
      MT350.U0087U0002 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT350.U0084U0002.Elements.Add((SwiftDefinitionElement) MT350.U0087U0002);
      MT350.U0083U0002.Elements.Add((SwiftDefinitionElement) MT350.U0084U0002);
      MT350.U0088U0002 = new SwiftTagDefinition("Intermediary_C_56D", "Intermediary");
      MT350.U0088U0002.TagName = ":56D:";
      MT350.U0089U0002 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT350.U0089U0002.Mandatory = false;
      MT350.U0088U0002.Elements.Add((SwiftDefinitionElement) MT350.U0089U0002);
      MT350.U008AU0002 = new SwiftTagSubItemDefinition("NameAndAddress", "Name And Address");
      MT350.U0088U0002.Elements.Add((SwiftDefinitionElement) MT350.U008AU0002);
      MT350.U0083U0002.Elements.Add((SwiftDefinitionElement) MT350.U0088U0002);
      MT350.U008BU0002 = new SwiftTagDefinition("Intermediary_C_56J", "Intermediary");
      MT350.U008BU0002.TagName = ":56J:";
      MT350.U0083U0002.Elements.Add((SwiftDefinitionElement) MT350.U008BU0002);
      MT350.U0011U0002.Elements.Add((SwiftDefinitionElement) MT350.U0083U0002);
      MT350.U008CU0002 = new SwiftTagChoiceDefinition("Choice", "");
      MT350.U008CU0002.Multiple = true;
      MT350.U008DU0002 = new SwiftTagDefinition("ReceivingAgent_C_57A", "Receiving Agent");
      MT350.U008DU0002.TagName = ":57A:";
      MT350.U008EU0002 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT350.U008EU0002.Mandatory = false;
      MT350.U008DU0002.Elements.Add((SwiftDefinitionElement) MT350.U008EU0002);
      MT350.U008FU0002 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT350.U008DU0002.Elements.Add((SwiftDefinitionElement) MT350.U008FU0002);
      MT350.U008CU0002.Elements.Add((SwiftDefinitionElement) MT350.U008DU0002);
      MT350.U0090U0002 = new SwiftTagDefinition("ReceivingAgent_C_57D", "Receiving Agent");
      MT350.U0090U0002.TagName = ":57D:";
      MT350.U0091U0002 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT350.U0091U0002.Mandatory = false;
      MT350.U0090U0002.Elements.Add((SwiftDefinitionElement) MT350.U0091U0002);
      MT350.U0092U0002 = new SwiftTagSubItemDefinition("NameAndAddress", "Name And Address");
      MT350.U0090U0002.Elements.Add((SwiftDefinitionElement) MT350.U0092U0002);
      MT350.U008CU0002.Elements.Add((SwiftDefinitionElement) MT350.U0090U0002);
      MT350.U0093U0002 = new SwiftTagDefinition("ReceivingAgent_C_57J", "Receiving Agent");
      MT350.U0093U0002.TagName = ":57J:";
      MT350.U008CU0002.Elements.Add((SwiftDefinitionElement) MT350.U0093U0002);
      MT350.U0011U0002.Elements.Add((SwiftDefinitionElement) MT350.U008CU0002);
      MT350.U0094U0002 = new SwiftTagChoiceDefinition("Choice", "");
      MT350.U0094U0002.Mandatory = false;
      MT350.U0094U0002.Multiple = true;
      MT350.U0095U0002 = new SwiftTagDefinition("BeneficiaryInstitution_C_58A", "Beneficiary Institution");
      MT350.U0095U0002.TagName = ":58A:";
      MT350.U0096U0002 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT350.U0096U0002.Mandatory = false;
      MT350.U0095U0002.Elements.Add((SwiftDefinitionElement) MT350.U0096U0002);
      MT350.U0097U0002 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT350.U0095U0002.Elements.Add((SwiftDefinitionElement) MT350.U0097U0002);
      MT350.U0094U0002.Elements.Add((SwiftDefinitionElement) MT350.U0095U0002);
      MT350.U0098U0002 = new SwiftTagDefinition("BeneficiaryInstitution_C_58D", "Beneficiary Institution");
      MT350.U0098U0002.TagName = ":58D:";
      MT350.U0099U0002 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT350.U0099U0002.Mandatory = false;
      MT350.U0098U0002.Elements.Add((SwiftDefinitionElement) MT350.U0099U0002);
      MT350.U009AU0002 = new SwiftTagSubItemDefinition("NameAndAddress", "Name And Address");
      MT350.U0098U0002.Elements.Add((SwiftDefinitionElement) MT350.U009AU0002);
      MT350.U0094U0002.Elements.Add((SwiftDefinitionElement) MT350.U0098U0002);
      MT350.U009BU0002 = new SwiftTagDefinition("BeneficiaryInstitution_C_58J", "Beneficiary Institution");
      MT350.U009BU0002.TagName = ":58J:";
      MT350.U009CU0002 = new SwiftTagSubItemDefinition("PartyIdentification2", "Party Identification");
      MT350.U009BU0002.Elements.Add((SwiftDefinitionElement) MT350.U009CU0002);
      MT350.U0094U0002.Elements.Add((SwiftDefinitionElement) MT350.U009BU0002);
      MT350.U0011U0002.Elements.Add((SwiftDefinitionElement) MT350.U0094U0002);
      MT350.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT350.U0011U0002);
      MT350.U009DU0002 = new SwiftTagSequenceDefinition("SequenceD", "Tax Information and Broker's Commission");
      MT350.U009DU0002.Mandatory = false;
      MT350.U009EU0002 = new SwiftTagDefinition("NewSequence_D_15D", "New Sequence");
      MT350.U009EU0002.TagName = ":15D:";
      MT350.U009FU0002 = new SwiftTagSubItemDefinition("NewSequence", "New Sequence");
      MT350.U009FU0002.Mandatory = false;
      MT350.U009EU0002.Elements.Add((SwiftDefinitionElement) MT350.U009FU0002);
      MT350.U009DU0002.Elements.Add((SwiftDefinitionElement) MT350.U009EU0002);
      MT350.U0001U0003 = new SwiftTagDefinition("CurrencyAndInterestAmount_D_34B", "Currency and Interest Amount");
      MT350.U0001U0003.TagName = ":34B:";
      MT350.U0002U0003 = new SwiftTagSubItemDefinition("Currency", "Currency");
      MT350.U0001U0003.Elements.Add((SwiftDefinitionElement) MT350.U0002U0003);
      MT350.U0003U0003 = new SwiftTagSubItemDefinition("Amount", "Amount");
      MT350.U0001U0003.Elements.Add((SwiftDefinitionElement) MT350.U0003U0003);
      MT350.U009DU0002.Elements.Add((SwiftDefinitionElement) MT350.U0001U0003);
      MT350.U0004U0003 = new SwiftTagDefinition("TransactionCurrencyAndNetInterestAmount_D_33B", "Transaction Currency and Net Interest Amount");
      MT350.U0004U0003.TagName = ":33B:";
      MT350.U0005U0003 = new SwiftTagSubItemDefinition("Currency", "Currency");
      MT350.U0004U0003.Elements.Add((SwiftDefinitionElement) MT350.U0005U0003);
      MT350.U0006U0003 = new SwiftTagSubItemDefinition("Amount", "Amount");
      MT350.U0004U0003.Elements.Add((SwiftDefinitionElement) MT350.U0006U0003);
      MT350.U009DU0002.Elements.Add((SwiftDefinitionElement) MT350.U0004U0003);
      MT350.U0007U0003 = new SwiftTagDefinition("ExchangeRate_D_36", "Exchange Rate");
      MT350.U0007U0003.TagName = ":36:";
      MT350.U0007U0003.Mandatory = false;
      MT350.U0008U0003 = new SwiftTagSubItemDefinition("Rate", "Rate");
      MT350.U0007U0003.Elements.Add((SwiftDefinitionElement) MT350.U0008U0003);
      MT350.U009DU0002.Elements.Add((SwiftDefinitionElement) MT350.U0007U0003);
      MT350.U000EU0003 = new SwiftTagSequenceDefinition("SequenceD1", "Tax Details");
      MT350.U000EU0003.Mandatory = false;
      MT350.U000FU0003 = new SwiftTagDefinition("TaxRate_D1_37L", "Tax Rate");
      MT350.U000FU0003.TagName = ":37L:";
      MT350.U0010U0003 = new SwiftTagSubItemDefinition("Rate", "Rate");
      MT350.U000FU0003.Elements.Add((SwiftDefinitionElement) MT350.U0010U0003);
      MT350.U000EU0003.Elements.Add((SwiftDefinitionElement) MT350.U000FU0003);
      MT350.U0011U0003 = new SwiftTagDefinition("ReportingCurrencyAndTaxAmount_D1_33E", "Reporting Currency and Tax Amount");
      MT350.U0011U0003.TagName = ":33E:";
      MT350.U0012U0003 = new SwiftTagSubItemDefinition("Currency", "Currency");
      MT350.U0011U0003.Elements.Add((SwiftDefinitionElement) MT350.U0012U0003);
      MT350.U0013U0003 = new SwiftTagSubItemDefinition("Amount", "Amount");
      MT350.U0011U0003.Elements.Add((SwiftDefinitionElement) MT350.U0013U0003);
      MT350.U000EU0003.Elements.Add((SwiftDefinitionElement) MT350.U0011U0003);
      MT350.U009DU0002.Elements.Add((SwiftDefinitionElement) MT350.U000EU0003);
      MT350.U0014U0003 = new SwiftTagSequenceDefinition("SequenceD2", "Broker's Commission Information");
      MT350.U0014U0003.Mandatory = false;
      MT350.U0015U0003 = new SwiftTagDefinition("BrokersCommission_D2_71F", "Broker's Commission");
      MT350.U0015U0003.TagName = ":71F:";
      MT350.U0016U0003 = new SwiftTagSubItemDefinition("Currency", "Currency");
      MT350.U0015U0003.Elements.Add((SwiftDefinitionElement) MT350.U0016U0003);
      MT350.U0017U0003 = new SwiftTagSubItemDefinition("Amount", "Amount");
      MT350.U0015U0003.Elements.Add((SwiftDefinitionElement) MT350.U0017U0003);
      MT350.U0014U0003.Elements.Add((SwiftDefinitionElement) MT350.U0015U0003);
      MT350.U0018U0003 = new SwiftTagDefinition("TaxRateOnBrokersCommission_D2_37L", "Tax Rate on Broker's Commission");
      MT350.U0018U0003.TagName = ":37L:";
      MT350.U0018U0003.Mandatory = false;
      MT350.U0019U0003 = new SwiftTagSubItemDefinition("Rate", "Rate");
      MT350.U0018U0003.Elements.Add((SwiftDefinitionElement) MT350.U0019U0003);
      MT350.U0014U0003.Elements.Add((SwiftDefinitionElement) MT350.U0018U0003);
      MT350.U001AU0003 = new SwiftTagDefinition("ReportingCurrencyAndTaxAmountOnBrokersCommission_D2_33E", "Reporting Currency and Tax Amount on Broker's Commission");
      MT350.U001AU0003.TagName = ":33E:";
      MT350.U001AU0003.Mandatory = false;
      MT350.U001BU0003 = new SwiftTagSubItemDefinition("Currency", "Currency");
      MT350.U001AU0003.Elements.Add((SwiftDefinitionElement) MT350.U001BU0003);
      MT350.U001CU0003 = new SwiftTagSubItemDefinition("Amount", "Amount");
      MT350.U001AU0003.Elements.Add((SwiftDefinitionElement) MT350.U001CU0003);
      MT350.U0014U0003.Elements.Add((SwiftDefinitionElement) MT350.U001AU0003);
      MT350.U009DU0002.Elements.Add((SwiftDefinitionElement) MT350.U0014U0003);
      MT350.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT350.U009DU0002);
    }

    public class SequenceAClass : SwiftTagSequence
    {
      internal override SwiftDefinitionElement Definition
      {
        get
        {
          return (SwiftDefinitionElement) MT350.U0002;
        }
      }

      [Description("New Sequence")]
      public Tag15A NewSequence_A_15A
      {
        get
        {
          return new Tag15A((SwiftElement) this, 0, (SwiftDefinitionElement) MT350.U0003);
        }
      }

      [Description("New Sequence")]
      public Tag15A Tag15A_NewSequence_A
      {
        get
        {
          return this.NewSequence_A_15A;
        }
      }

      [Description("Senders Reference")]
      public Tag20 SendersReference_A_20
      {
        get
        {
          return new Tag20((SwiftElement) this, 0, (SwiftDefinitionElement) MT350.U0005);
        }
      }

      [Description("Senders Reference")]
      public Tag20 Tag20_SendersReference_A
      {
        get
        {
          return this.SendersReference_A_20;
        }
      }

      [Description("Related Reference")]
      public Tag21 RelatedReference_A_21
      {
        get
        {
          return new Tag21((SwiftElement) this, 0, (SwiftDefinitionElement) MT350.U0007);
        }
      }

      [Description("Related Reference")]
      public Tag21 Tag21_RelatedReference_A
      {
        get
        {
          return this.RelatedReference_A_21;
        }
      }

      [Description("Type of Operation")]
      public Tag22A TypeOfOperation_A_22A
      {
        get
        {
          return new Tag22A((SwiftElement) this, 0, (SwiftDefinitionElement) MT350.U000E);
        }
      }

      [Description("Type of Operation")]
      public Tag22A Tag22A_TypeOfOperation_A
      {
        get
        {
          return this.TypeOfOperation_A_22A;
        }
      }

      [Description("Scope Of Operation")]
      public Tag94A ScopeOfOperation_A_94A
      {
        get
        {
          return new Tag94A((SwiftElement) this, 0, (SwiftDefinitionElement) MT350.U0010);
        }
      }

      [Description("Scope Of Operation")]
      public Tag94A Tag94A_ScopeOfOperation_A
      {
        get
        {
          return this.ScopeOfOperation_A_94A;
        }
      }

      [Description("Common Reference")]
      public Tag22C CommonReference_A_22C
      {
        get
        {
          return new Tag22C((SwiftElement) this, 0, (SwiftDefinitionElement) MT350.U0012);
        }
      }

      [Description("Common Reference")]
      public Tag22C Tag22C_CommonReference_A
      {
        get
        {
          return this.CommonReference_A_22C;
        }
      }

      [Description("Contract Number Party A")]
      public Tag21N ContractNumberPartyA_A_21N
      {
        get
        {
          return new Tag21N((SwiftElement) this, 0, (SwiftDefinitionElement) MT350.U0013);
        }
      }

      [Description("Contract Number Party A")]
      public Tag21N Tag21N_ContractNumberPartyA_A
      {
        get
        {
          return this.ContractNumberPartyA_A_21N;
        }
      }

      [Description("Party A")]
      public Tag82A PartyA_A_82A
      {
        get
        {
          return new Tag82A((SwiftElement) this, 0, (SwiftDefinitionElement) MT350.U0016);
        }
      }

      [Description("Party A")]
      public Tag82A Tag82A_PartyA_A
      {
        get
        {
          return this.PartyA_A_82A;
        }
      }

      [Description("Party A")]
      public Tag82D PartyA_A_82D
      {
        get
        {
          return new Tag82D((SwiftElement) this, 0, (SwiftDefinitionElement) MT350.U0019);
        }
      }

      [Description("Party A")]
      public Tag82D Tag82D_PartyA_A
      {
        get
        {
          return this.PartyA_A_82D;
        }
      }

      [Description("Party A")]
      public Tag82J PartyA_A_82J
      {
        get
        {
          return new Tag82J((SwiftElement) this, 0, (SwiftDefinitionElement) MT350.U001C);
        }
      }

      [Description("Party A")]
      public Tag82J Tag82J_PartyA_A
      {
        get
        {
          return this.PartyA_A_82J;
        }
      }

      [Description("Party B")]
      public Tag87A PartyB_A_87A
      {
        get
        {
          return new Tag87A((SwiftElement) this, 0, (SwiftDefinitionElement) MT350.U001F);
        }
      }

      [Description("Party B")]
      public Tag87A Tag87A_PartyB_A
      {
        get
        {
          return this.PartyB_A_87A;
        }
      }

      [Description("Party B")]
      public Tag87D PartyB_A_87D
      {
        get
        {
          return new Tag87D((SwiftElement) this, 0, (SwiftDefinitionElement) MT350.U0081);
        }
      }

      [Description("Party B")]
      public Tag87D Tag87D_PartyB_A
      {
        get
        {
          return this.PartyB_A_87D;
        }
      }

      [Description("Party B")]
      public Tag87J PartyB_A_87J
      {
        get
        {
          return new Tag87J((SwiftElement) this, 0, (SwiftDefinitionElement) MT350.U0084);
        }
      }

      [Description("Party B")]
      public Tag87J Tag87J_PartyB_A
      {
        get
        {
          return this.PartyB_A_87J;
        }
      }

      [Description("Fund or Instructing Party")]
      public Tag83A FundOrInstructingParty_A_83A
      {
        get
        {
          return new Tag83A((SwiftElement) this, 0, (SwiftDefinitionElement) MT350.U0088);
        }
      }

      [Description("Fund or Instructing Party")]
      public Tag83A Tag83A_FundOrInstructingParty_A
      {
        get
        {
          return this.FundOrInstructingParty_A_83A;
        }
      }

      [Description("Fund or Instructing Party")]
      public Tag83D FundOrInstructingParty_A_83D
      {
        get
        {
          return new Tag83D((SwiftElement) this, 0, (SwiftDefinitionElement) MT350.U008B);
        }
      }

      [Description("Fund or Instructing Party")]
      public Tag83D Tag83D_FundOrInstructingParty_A
      {
        get
        {
          return this.FundOrInstructingParty_A_83D;
        }
      }

      [Description("Fund or Instructing Party")]
      public Tag83J FundOrInstructingParty_A_83J
      {
        get
        {
          return new Tag83J((SwiftElement) this, 0, (SwiftDefinitionElement) MT350.U008E);
        }
      }

      [Description("Fund or Instructing Party")]
      public Tag83J Tag83J_FundOrInstructingParty_A
      {
        get
        {
          return this.FundOrInstructingParty_A_83J;
        }
      }

      [Description("Sender To Receiver Information")]
      public Tag72 SenderToReceiverInformation_A_72
      {
        get
        {
          return new Tag72((SwiftElement) this, 0, (SwiftDefinitionElement) MT350.U0090);
        }
      }

      [Description("Sender To Receiver Information")]
      public Tag72 Tag72_SenderToReceiverInformation_A
      {
        get
        {
          return this.SenderToReceiverInformation_A_72;
        }
      }

      internal SequenceAClass(SwiftElement parent, int index, bool createTags)
        : base(parent, index, createTags)
      {
      }
    }

    public class SequenceBClass : SwiftTagSequence
    {
      internal override SwiftDefinitionElement Definition
      {
        get
        {
          return (SwiftDefinitionElement) MT350.U0097;
        }
      }

      [Description("New Sequence")]
      public Tag15B NewSequence_B_15B
      {
        get
        {
          return new Tag15B((SwiftElement) this, 0, (SwiftDefinitionElement) MT350.U0098);
        }
      }

      [Description("New Sequence")]
      public Tag15B Tag15B_NewSequence_B
      {
        get
        {
          return this.NewSequence_B_15B;
        }
      }

      [Description("Interest Period")]
      public Tag30G InterestPeriod_B_30G
      {
        get
        {
          return new Tag30G((SwiftElement) this, 0, (SwiftDefinitionElement) MT350.U009A);
        }
      }

      [Description("Interest Period")]
      public Tag30G Tag30G_InterestPeriod_B
      {
        get
        {
          return this.InterestPeriod_B_30G;
        }
      }

      [Description("Currency and Principal Amount")]
      public Tag32B CurrencyAndPrincipalAmount_B_32B
      {
        get
        {
          return new Tag32B((SwiftElement) this, 0, (SwiftDefinitionElement) MT350.U009D);
        }
      }

      [Description("Currency and Principal Amount")]
      public Tag32B Tag32B_CurrencyAndPrincipalAmount_B
      {
        get
        {
          return this.CurrencyAndPrincipalAmount_B_32B;
        }
      }

      [Description("Value Date of Interest Payment")]
      public Tag30V ValueDateOfInterestPayment_B_30V
      {
        get
        {
          return new Tag30V((SwiftElement) this, 0, (SwiftDefinitionElement) MT350.U0001U0002);
        }
      }

      [Description("Value Date of Interest Payment")]
      public Tag30V Tag30V_ValueDateOfInterestPayment_B
      {
        get
        {
          return this.ValueDateOfInterestPayment_B_30V;
        }
      }

      [Description("Currency and Interest Amount")]
      public Tag34B CurrencyAndInterestAmount_B_34B
      {
        get
        {
          return new Tag34B((SwiftElement) this, 0, (SwiftDefinitionElement) MT350.U0003U0002);
        }
      }

      [Description("Currency and Interest Amount")]
      public Tag34B Tag34B_CurrencyAndInterestAmount_B
      {
        get
        {
          return this.CurrencyAndInterestAmount_B_34B;
        }
      }

      [Description("Interest Rate")]
      public Tag37J InterestRate_B_37J
      {
        get
        {
          return new Tag37J((SwiftElement) this, 0, (SwiftDefinitionElement) MT350.U0006U0002);
        }
      }

      [Description("Interest Rate")]
      public Tag37J Tag37J_InterestRate_B
      {
        get
        {
          return this.InterestRate_B_37J;
        }
      }

      [Description("Day Count Fraction")]
      public MT350.SequenceBClass.Tag14D DayCountFraction_B_14D
      {
        get
        {
          return new MT350.SequenceBClass.Tag14D((SwiftElement) this, 0, (SwiftDefinitionElement) MT350.U0008U0002);
        }
      }

      [Description("Day Count Fraction")]
      public MT350.SequenceBClass.Tag14D Tag14D_DayCountFraction_B
      {
        get
        {
          return this.DayCountFraction_B_14D;
        }
      }

      [Description("Next Interest Payment Date")]
      public Tag30F NextInterestPaymentDate_B_30F
      {
        get
        {
          return new Tag30F((SwiftElement) this, 0, (SwiftDefinitionElement) MT350.U000FU0002);
        }
      }

      [Description("Next Interest Payment Date")]
      public Tag30F Tag30F_NextInterestPaymentDate_B
      {
        get
        {
          return this.NextInterestPaymentDate_B_30F;
        }
      }

      internal SequenceBClass(SwiftElement parent, int index, bool createTags)
        : base(parent, index, createTags)
      {
      }

      public class Tag14D : SwiftTagWrapper
      {
        public string Value
        {
          get
          {
            return this.GetValue();
          }
          set
          {
            this.SetValue("14D", value);
          }
        }

        internal Tag14D(SwiftElement parent, int index, SwiftDefinitionElement definition)
          : base(parent, index, definition)
        {
        }
      }
    }

    public class SequenceCClass : SwiftTagSequence
    {
      internal override SwiftDefinitionElement Definition
      {
        get
        {
          return (SwiftDefinitionElement) MT350.U0011U0002;
        }
      }

      [Description("New Sequence")]
      public Tag15C NewSequence_C_15C
      {
        get
        {
          return new Tag15C((SwiftElement) this, 0, (SwiftDefinitionElement) MT350.U0012U0002);
        }
      }

      [Description("New Sequence")]
      public Tag15C Tag15C_NewSequence_C
      {
        get
        {
          return this.NewSequence_C_15C;
        }
      }

      [Description("Delivery Agent")]
      public Tag53A DeliveryAgent_C_53A
      {
        get
        {
          return new Tag53A((SwiftElement) this, 0, (SwiftDefinitionElement) MT350.U0015U0002);
        }
      }

      [Description("Delivery Agent")]
      public Tag53A Tag53A_DeliveryAgent_C
      {
        get
        {
          return this.DeliveryAgent_C_53A;
        }
      }

      [Description("Delivery Agent")]
      public Tag53D DeliveryAgent_C_53D
      {
        get
        {
          return new Tag53D((SwiftElement) this, 0, (SwiftDefinitionElement) MT350.U0018U0002);
        }
      }

      [Description("Delivery Agent")]
      public Tag53D Tag53D_DeliveryAgent_C
      {
        get
        {
          return this.DeliveryAgent_C_53D;
        }
      }

      [Description("Delivery Agent")]
      public Tag53J DeliveryAgent_C_53J
      {
        get
        {
          return new Tag53J((SwiftElement) this, 0, (SwiftDefinitionElement) MT350.U001BU0002);
        }
      }

      [Description("Delivery Agent")]
      public Tag53J Tag53J_DeliveryAgent_C
      {
        get
        {
          return this.DeliveryAgent_C_53J;
        }
      }

      [Description("Intermediary2")]
      public Tag86A Intermediary2_C_86A
      {
        get
        {
          return new Tag86A((SwiftElement) this, 0, (SwiftDefinitionElement) MT350.U001DU0002);
        }
      }

      [Description("Intermediary2")]
      public Tag86A Tag86A_Intermediary2_C
      {
        get
        {
          return this.Intermediary2_C_86A;
        }
      }

      [Description("Intermediary2")]
      public Tag86D Intermediary2_C_86D
      {
        get
        {
          return new Tag86D((SwiftElement) this, 0, (SwiftDefinitionElement) MT350.U007FU0002);
        }
      }

      [Description("Intermediary2")]
      public Tag86D Tag86D_Intermediary2_C
      {
        get
        {
          return this.Intermediary2_C_86D;
        }
      }

      [Description("Intermediary2")]
      public Tag86J Intermediary2_C_86J
      {
        get
        {
          return new Tag86J((SwiftElement) this, 0, (SwiftDefinitionElement) MT350.U0082U0002);
        }
      }

      [Description("Intermediary2")]
      public Tag86J Tag86J_Intermediary2_C
      {
        get
        {
          return this.Intermediary2_C_86J;
        }
      }

      [Description("Intermediary")]
      public Tag56A Intermediary_C_56A
      {
        get
        {
          return new Tag56A((SwiftElement) this, 0, (SwiftDefinitionElement) MT350.U0084U0002);
        }
      }

      [Description("Intermediary")]
      public Tag56A Tag56A_Intermediary_C
      {
        get
        {
          return this.Intermediary_C_56A;
        }
      }

      [Description("Intermediary")]
      public Tag56D Intermediary_C_56D
      {
        get
        {
          return new Tag56D((SwiftElement) this, 0, (SwiftDefinitionElement) MT350.U0088U0002);
        }
      }

      [Description("Intermediary")]
      public Tag56D Tag56D_Intermediary_C
      {
        get
        {
          return this.Intermediary_C_56D;
        }
      }

      [Description("Intermediary")]
      public Tag56J Intermediary_C_56J
      {
        get
        {
          return new Tag56J((SwiftElement) this, 0, (SwiftDefinitionElement) MT350.U008BU0002);
        }
      }

      [Description("Intermediary")]
      public Tag56J Tag56J_Intermediary_C
      {
        get
        {
          return this.Intermediary_C_56J;
        }
      }

      [Description("Receiving Agent")]
      public Tag57A ReceivingAgent_C_57A
      {
        get
        {
          return new Tag57A((SwiftElement) this, 0, (SwiftDefinitionElement) MT350.U008DU0002);
        }
      }

      [Description("Receiving Agent")]
      public Tag57A Tag57A_ReceivingAgent_C
      {
        get
        {
          return this.ReceivingAgent_C_57A;
        }
      }

      [Description("Receiving Agent")]
      public Tag57D ReceivingAgent_C_57D
      {
        get
        {
          return new Tag57D((SwiftElement) this, 0, (SwiftDefinitionElement) MT350.U0090U0002);
        }
      }

      [Description("Receiving Agent")]
      public Tag57D Tag57D_ReceivingAgent_C
      {
        get
        {
          return this.ReceivingAgent_C_57D;
        }
      }

      [Description("Receiving Agent")]
      public Tag57J ReceivingAgent_C_57J
      {
        get
        {
          return new Tag57J((SwiftElement) this, 0, (SwiftDefinitionElement) MT350.U0093U0002);
        }
      }

      [Description("Receiving Agent")]
      public Tag57J Tag57J_ReceivingAgent_C
      {
        get
        {
          return this.ReceivingAgent_C_57J;
        }
      }

      [Description("Beneficiary Institution")]
      public Tag58A BeneficiaryInstitution_C_58A
      {
        get
        {
          return new Tag58A((SwiftElement) this, 0, (SwiftDefinitionElement) MT350.U0095U0002);
        }
      }

      [Description("Beneficiary Institution")]
      public Tag58A Tag58A_BeneficiaryInstitution_C
      {
        get
        {
          return this.BeneficiaryInstitution_C_58A;
        }
      }

      [Description("Beneficiary Institution")]
      public Tag58D BeneficiaryInstitution_C_58D
      {
        get
        {
          return new Tag58D((SwiftElement) this, 0, (SwiftDefinitionElement) MT350.U0098U0002);
        }
      }

      [Description("Beneficiary Institution")]
      public Tag58D Tag58D_BeneficiaryInstitution_C
      {
        get
        {
          return this.BeneficiaryInstitution_C_58D;
        }
      }

      [Description("Beneficiary Institution")]
      public Tag58J BeneficiaryInstitution_C_58J
      {
        get
        {
          return new Tag58J((SwiftElement) this, 0, (SwiftDefinitionElement) MT350.U009BU0002);
        }
      }

      [Description("Beneficiary Institution")]
      public Tag58J Tag58J_BeneficiaryInstitution_C
      {
        get
        {
          return this.BeneficiaryInstitution_C_58J;
        }
      }

      internal SequenceCClass(SwiftElement parent, int index, bool createTags)
        : base(parent, index, createTags)
      {
      }
    }

    public class SequenceDClass : SwiftTagSequence
    {
      internal override SwiftDefinitionElement Definition
      {
        get
        {
          return (SwiftDefinitionElement) MT350.U009DU0002;
        }
      }

      [Description("New Sequence")]
      public Tag15D NewSequence_D_15D
      {
        get
        {
          return new Tag15D((SwiftElement) this, 0, (SwiftDefinitionElement) MT350.U009EU0002);
        }
      }

      [Description("New Sequence")]
      public Tag15D Tag15D_NewSequence_D
      {
        get
        {
          return this.NewSequence_D_15D;
        }
      }

      [Description("Currency and Interest Amount")]
      public Tag34B CurrencyAndInterestAmount_D_34B
      {
        get
        {
          return new Tag34B((SwiftElement) this, 0, (SwiftDefinitionElement) MT350.U0001U0003);
        }
      }

      [Description("Currency and Interest Amount")]
      public Tag34B Tag34B_CurrencyAndInterestAmount_D
      {
        get
        {
          return this.CurrencyAndInterestAmount_D_34B;
        }
      }

      [Description("Transaction Currency and Net Interest Amount")]
      public Tag33B TransactionCurrencyAndNetInterestAmount_D_33B
      {
        get
        {
          return new Tag33B((SwiftElement) this, 0, (SwiftDefinitionElement) MT350.U0004U0003);
        }
      }

      [Description("Transaction Currency and Net Interest Amount")]
      public Tag33B Tag33B_TransactionCurrencyAndNetInterestAmount_D
      {
        get
        {
          return this.TransactionCurrencyAndNetInterestAmount_D_33B;
        }
      }

      [Description("Exchange Rate")]
      public Tag36 ExchangeRate_D_36
      {
        get
        {
          return new Tag36((SwiftElement) this, 0, (SwiftDefinitionElement) MT350.U0007U0003);
        }
      }

      [Description("Exchange Rate")]
      public Tag36 Tag36_ExchangeRate_D
      {
        get
        {
          return this.ExchangeRate_D_36;
        }
      }

      [Description("Tax Details")]
      public MT350.SequenceDClass.SequenceD1Class SequenceD1
      {
        get
        {
          MT350.SequenceDClass.SequenceD1Class sequenceD1Class = new MT350.SequenceDClass.SequenceD1Class((SwiftElement) this, 0, false);
          if (this.ListTags((SwiftElement) sequenceD1Class).Count > 0)
            return sequenceD1Class;
          else
            return (MT350.SequenceDClass.SequenceD1Class) null;
        }
      }

      [Description("Broker's Commission Information")]
      public MT350.SequenceDClass.SequenceD2Class SequenceD2
      {
        get
        {
          MT350.SequenceDClass.SequenceD2Class sequenceD2Class = new MT350.SequenceDClass.SequenceD2Class((SwiftElement) this, 0, false);
          if (this.ListTags((SwiftElement) sequenceD2Class).Count > 0)
            return sequenceD2Class;
          else
            return (MT350.SequenceDClass.SequenceD2Class) null;
        }
      }

      internal SequenceDClass(SwiftElement parent, int index, bool createTags)
        : base(parent, index, createTags)
      {
      }

      public MT350.SequenceDClass.SequenceD1Class AddSequenceD1()
      {
        return this.SequenceD1 ?? new MT350.SequenceDClass.SequenceD1Class((SwiftElement) this, 0, true);
      }

      public void RemoveSequenceD1(MT350.SequenceDClass.SequenceD1Class sequence)
      {
        foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
          this.RemoveTag(tag);
      }

      public MT350.SequenceDClass.SequenceD2Class AddSequenceD2()
      {
        return this.SequenceD2 ?? new MT350.SequenceDClass.SequenceD2Class((SwiftElement) this, 0, true);
      }

      public void RemoveSequenceD2(MT350.SequenceDClass.SequenceD2Class sequence)
      {
        foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
          this.RemoveTag(tag);
      }

      public class SequenceD1Class : SwiftTagSequence
      {
        internal override SwiftDefinitionElement Definition
        {
          get
          {
            return (SwiftDefinitionElement) MT350.U000EU0003;
          }
        }

        [Description("Tax Rate")]
        public Tag37L TaxRate_D1_37L
        {
          get
          {
            return new Tag37L((SwiftElement) this, 0, (SwiftDefinitionElement) MT350.U000FU0003);
          }
        }

        [Description("Tax Rate")]
        public Tag37L Tag37L_TaxRate_D1
        {
          get
          {
            return this.TaxRate_D1_37L;
          }
        }

        [Description("Reporting Currency and Tax Amount")]
        public Tag33E ReportingCurrencyAndTaxAmount_D1_33E
        {
          get
          {
            return new Tag33E((SwiftElement) this, 0, (SwiftDefinitionElement) MT350.U0011U0003);
          }
        }

        [Description("Reporting Currency and Tax Amount")]
        public Tag33E Tag33E_ReportingCurrencyAndTaxAmount_D1
        {
          get
          {
            return this.ReportingCurrencyAndTaxAmount_D1_33E;
          }
        }

        internal SequenceD1Class(SwiftElement parent, int index, bool createTags)
          : base(parent, index, createTags)
        {
        }
      }

      public class SequenceD2Class : SwiftTagSequence
      {
        internal override SwiftDefinitionElement Definition
        {
          get
          {
            return (SwiftDefinitionElement) MT350.U0014U0003;
          }
        }

        [Description("Broker's Commission")]
        public Tag71F BrokersCommission_D2_71F
        {
          get
          {
            return new Tag71F((SwiftElement) this, 0, (SwiftDefinitionElement) MT350.U0015U0003);
          }
        }

        [Description("Broker's Commission")]
        public Tag71F Tag71F_BrokersCommission_D2
        {
          get
          {
            return this.BrokersCommission_D2_71F;
          }
        }

        [Description("Tax Rate on Broker's Commission")]
        public Tag37L TaxRateOnBrokersCommission_D2_37L
        {
          get
          {
            return new Tag37L((SwiftElement) this, 0, (SwiftDefinitionElement) MT350.U0018U0003);
          }
        }

        [Description("Tax Rate on Broker's Commission")]
        public Tag37L Tag37L_TaxRateOnBrokersCommission_D2
        {
          get
          {
            return this.TaxRateOnBrokersCommission_D2_37L;
          }
        }

        [Description("Reporting Currency and Tax Amount on Broker's Commission")]
        public Tag33E ReportingCurrencyAndTaxAmountOnBrokersCommission_D2_33E
        {
          get
          {
            return new Tag33E((SwiftElement) this, 0, (SwiftDefinitionElement) MT350.U001AU0003);
          }
        }

        [Description("Reporting Currency and Tax Amount on Broker's Commission")]
        public Tag33E Tag33E_ReportingCurrencyAndTaxAmountOnBrokersCommission_D2
        {
          get
          {
            return this.ReportingCurrencyAndTaxAmountOnBrokersCommission_D2_33E;
          }
        }

        internal SequenceD2Class(SwiftElement parent, int index, bool createTags)
          : base(parent, index, createTags)
        {
        }
      }
    }
  }
}
